package com.woniuxy.service.impl;

import com.woniuxy.dao.PermDao;
import com.woniuxy.service.PermService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PermServiceImpl implements PermService {
    @Autowired(required = false)
    PermDao permDao;

    @Override
    public List<String> findByUsername(String username) {
        return permDao.findByUsername(username);
    }
}
